projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f0461
)
treeview: Don't draw background twice
author
Timm Bäder
<mail@baedert.org>
Fri, 8 Dec 2017 15:46:46 +0000
(16:46 +0100)
committer
Timm Bäder
<mail@baedert.org>
Sat, 9 Dec 2017 12:15:07 +0000
(13:15 +0100)
This is done unconditionally for all widgets these days.
gtk/gtktreeview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreeview.c
b/gtk/gtktreeview.c
index 5146b0fc666a505c02ab0372458da5d92ced4722..fe5ec34f21a54309d1665374002dabc63a089e5d 100644
(file)
--- a/
gtk/gtktreeview.c
+++ b/
gtk/gtktreeview.c
@@
-5222,10
+5222,6
@@
gtk_tree_view_snapshot (GtkWidget *widget,
width = gtk_widget_get_width (widget);
height = gtk_widget_get_height (widget);
- gtk_snapshot_render_background (snapshot, context,
- 0, 0,
- width, height);
-
gtk_snapshot_push_clip (snapshot,
&GRAPHENE_RECT_INIT(
0, gtk_tree_view_get_effective_header_height (tree_view),